home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / ed_el.zip / ED_EL.DIF next >
Text File  |  1989-02-15  |  1KB  |  47 lines

  1. 18c18
  2. < int    version = 3;    /* used only in the "set" function, for i.d. */
  3. ---
  4. > int    version = 4;    /* used only in the "set" function, for i.d. */
  5. 758,759d757
  6. <     int    i;
  7. 764,765c762,763
  8. <         for(i = from; i <= to; i++)
  9. <             prntln(gettxt(i), lflg, (nflg ? i : 0));
  10. ---
  11. >         for(CurLn = from; CurLn <= to; CurLn++)
  12. >             prntln(gettxt(CurLn), lflg, (nflg ? CurLn : 0));
  13. 1756d1753
  14. <         break;
  15. 2041d2037
  16. < #ifndef __TURBOC__
  17. 2043,2046c2039,2040
  18. <  *  Software signal 2 is caught and the result is to resume the main loop
  19. <  *  at the point where a command is prompted for.  Nothing in this code
  20. <  *  generates the software signal, so for TurboC / MSDOS it all seems
  21. <  *  pretty pointless.
  22. ---
  23. >  *  Software signal 2 or SIGINT is caught and the result is to resume
  24. >  *  the main loop at a command prompt.
  25. 2050a2045
  26. > #ifndef __TURBOC__
  27. 2055a2051,2057
  28. > #else
  29. > void Catcher(void)
  30. > {
  31. >     longjmp(env, 1);
  32. > }
  33. 2087d2088
  34. < #ifndef __TURBOC__
  35. 2089a2091,2092
  36. > #ifndef __TURBOC__
  37. 2092c2095
  38. <         putchar(':');        /*  The command-line prompt  */
  39. ---
  40. >         signal(SIGINT, Catcher);
  41. 2220d2222
  42. <
  43.